<style>
    body {
        background-color: #ffffff;
    }
</style>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <label class="layui-form-label required">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="title" disabled lay-verify="required" lay-reqtext="" placeholder="" value="{$auth.nickName}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">性别</label>
        <div class="layui-input-block">
            <input type="text" name="title" disabled lay-verify="required" lay-reqtext="" placeholder="" value="{$auth.set_sex}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">手机号</label>
        <div class="layui-input-block">
            <input type="text" name="title" disabled lay-verify="required" lay-reqtext="" placeholder="" value="{$auth.mobile}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">微信</label>
        <div class="layui-input-block">
            <input type="text" name="title" disabled lay-verify="required" lay-reqtext="" placeholder="" value="{$auth.wx}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">院校</label>
        <div class="layui-input-block">
            <input type="text" name="title" disabled lay-verify="required" lay-reqtext="" placeholder="" value="{$auth.school}" class="layui-input">
        </div>
    </div>


</div>
<script>
    layui.use(['form'], function () {
        var form = layui.form,
            layer = layui.layer,
            $ = layui.$;

        //监听提交
        form.on('submit(saveBtn)', function (data) {
            hadmin.http("{:url('save')}",data.field).then(res=>{
                if(res.code == "{$result.normal}"){
                   hadmin.father_reload();
                }
            })

            return false;
        });

    });
</script>
</body>
</html>